<?xml version='1.0' encoding='ISO-8859-1' ?>
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/template/template.xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"  
	xmlns:f="http://java.sun.com/jsf/core">

	<ui:define name="uiCenterLeft">
        <h:form>
        	<h:messages styleClass="alerta"/>
                <h:panelGrid columns="2">
                    <h:outputLabel value="Usuario" />
                    <h:inputText id="usuario" value="#{usuarioBean.usuario}" title="#{bundle.CreateClienteTitle_nome}" required="true" requiredMessage="o campo usuario nao foi preenchido"/>
                    
                    <h:outputLabel value="senha" />
                    <h:inputSecret id="senha" value="#{usuarioBean.senha}" title="#{bundle.CreateClienteTitle_email}" required="true" requiredMessage="A senha nao foi digitada!"/>
                </h:panelGrid>
                <h:commandButton value="Login" action="#{usuarioBean.verificarUsuario}" />
        </h:form>
	</ui:define>
</ui:composition>

